home *** CD-ROM | disk | FTP | other *** search
- /*
- *-----------------------------------------------------------------------------
- * file: nnmath.h
- * desc: nnmath.c header
- * by: patrick ko
- * date: 2 aug 1991
- *-----------------------------------------------------------------------------
- */
-
- #define sigmoid( netpj ) (1.0 / (1.0 + exp(-1.0 * (netpj))))
-
-